#!/bin/bash

EXT='txt csv pdf chm mp3 ogg wmv mov avi vob doc xls c cpp cc h py pl pm asm php sh'

for i in $EXT
do
	PATTERN=$PATTERN" -iname '*.${i}' -or"
done


PATTERN=`echo $PATTERN | sed 's/-or$/-type f -follow/g'`
echo find ./ $PATTERN
